package de.jmda.mview.fx.node.typeshape;

import javafx.scene.control.Label;
import javafx.scene.image.ImageView;

import javax.lang.model.element.Element;

import de.jmda.mview.typeshape.DisplayOptionsModelUtil;

public class MethodView extends ElementView
{
//	private final static Logger LOGGER = Logger.getLogger(ElementView.class);

	public MethodView(
			ElementData<? extends Element> elementData,
			DisplayOptionsModelUtil displayOptionsModelUtil)
	{
		super(elementData, displayOptionsModelUtil);

		icon = new ImageView(elementData.getImage());
		type = new Label(elementData.getType());
		name = new Label(elementData.getName());
		
//		((Label) type).setTextAlignment(TextAlignment.RIGHT);
	}
}